package cn.blbsz.shop.service.impl;

import cn.blbsz.shop.domain.p.UserFundEntity;
import cn.blbsz.shop.domain.p.UserFundRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.blbsz.shop.service.UserFundService;
@Service
public class UserFundServiceImpl implements UserFundService {

    @Autowired
    private UserFundRepository userFundRepository;

    @Override
    public UserFundEntity findByUserId(Long userId) {
        return userFundRepository.findByUserId(userId);
    }
}
